<?php
/**
 * Created by PhpStorm.
 * User: zsm
 * Date: 2018/5/10
 * Time: 18:06
 */
namespace Library;
abstract class Controller{

    public $view_file = '';

    public function __construct() {

    }

    protected function render($data = null){
        View::display($data, $this->view_file);
    }
}